package cn.tyf.service;


import cn.tyf.domain.PageBean;
import cn.tyf.domain.Record;
import cn.tyf.domain.User;

import java.util.List;

public interface RecordService {

    /**
     * 分页查询
     * @param name
     * @param currentPage
     * @param pageSize
     * @return
     */
    PageBean findByPage(String name,Integer currentPage, Integer pageSize);

    PageBean<Record> findPageByUser(String rid,String time, Integer currentPage, Integer pageSize);

    void addAnnal(String card, String time, Integer door);

    List<Record> findAll();
}
